ThinkPHP5


think\db\exception\ModelNotFoundException
library\think\db\exception\ModelNotFoundException.php at line 16

Class ModelNotFoundException

\Exception
└─Exception
└─DbException
└─ModelNotFoundException

public class ModelNotFoundException
extends DbException


Constructor Summary
void

__construct(string message, string model, mixed config)

构造方法

Method Summary
string

getModel()

获取模型类名

Methods inherited from think\exception\DbException
__construct
Methods inherited from think\Exception
getData, setData

Constructor Detail

library\think\db\exception\ModelNotFoundException.php at line 25

__construct

public void __construct(string message, string model, mixed config)

构造方法


Method Detail

library\think\db\exception\ModelNotFoundException.php at line 38

getModel

public string getModel()

获取模型类名


ThinkPHP5